package cn.stylefeng.guns.modular.api.model.params;

import lombok.Data;
import cn.stylefeng.roses.kernel.model.validator.BaseValidatingParam;
import java.util.Date;
import java.io.Serializable;
import java.math.BigDecimal;
import io.swagger.annotations.ApiModelProperty;

/**
 * <p>
 * 任务管理
 * </p>
 *
 * @author samwuu
 * @since 2019-10-10
 */
@Data
public class TaskParam implements Serializable, BaseValidatingParam {

    private static final long serialVersionUID = 1L;


    @ApiModelProperty(value = "任务ID")
    private Long taskId;

    @ApiModelProperty(value = "生产计划ID")
    private Long planId;

    @ApiModelProperty(value = "任务标题")
    private String title;

    @ApiModelProperty(value = "类型 0.普通 1.日任务 2.周任务 3.月任务")
    private Long type;

    @ApiModelProperty(value = "任务备注")
    private String remark;

    @ApiModelProperty(value = "任务內容")
    private String content;

    @ApiModelProperty(value = "媒体")
    private String medias;

    @ApiModelProperty(value = "任务地址")
    private String address;

    @ApiModelProperty(value = "任务状态 0.未执行 1.执行完成 2.取消执行")
    private String status;

    @ApiModelProperty(value = "执行人")
    private String worker;

    @ApiModelProperty(value = "审核人")
    private String reviewWorker;

    @ApiModelProperty(value = "任务开始时间")
    private String startTime;

    @ApiModelProperty(value = "任务结束时间")
    private String endTime;

    @ApiModelProperty(value = "创建时间")
    private Date createTime;

    @ApiModelProperty(value = "更新时间")
    private Date updateTime;

    @ApiModelProperty(value = "formId")
    private String formId;


    @Override
    public String checkParam() {
        return null;
    }

}
